package com.luo.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xiangnan
 * @date 2018/1/25 15:30
 */
@RestController
@RequestMapping
public class IndexController {

    @GetMapping("/")
    public Object index() {
        return "hello world";
    }

}
